make clean-all via git submodule foreach
authorjosh <jdeseno@gmail.com>
Tue, 1 Jul 2014 22:49:04 +0000 (07:49 +0900)
committerjosh <jdeseno@gmail.com>
Tue, 1 Jul 2014 22:49:04 +0000 (07:49 +0900)
Makefile

index ba09b93c26e7944b608e6074f100a92504693a8b..3faf405a795db867eb7e0271a50c04bf054e67ed 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,9 +83,7 @@ clean:
        rm -rf target
 
 clean-all: clean
-       cd libs/hamcrest-rust && make clean
-       cd libs/hammer.rs && make clean
-       cd libs/toml-rs && make clean
+       git submodule foreach make clean
 
 install:
        install -d $(DESTDIR)$(BINDIR)